package shop.service;

import shop.pojo.StorageRecord;

import java.util.List;

public interface StorageRecordService {
    Integer getStorageRecordCount(String queryGoodsName, String querySupplierId, String queryPayStatus);

    List<StorageRecord> getStorageRecordList(String queryGoodsName, String querySupplierId, String queryPayStatus, Integer pageIndex, int pageSize);

    StorageRecord getStorageRecordDetail(Integer storageRecordId);

    int update(StorageRecord storageRecord);

    Integer deleteStorageRecordById(Integer storageRecordId);

    boolean add(StorageRecord storageRecord);
}
